<include file="Public:top" />
<script src="__PUBLIC__/libs/laydate/laydate.js"></script>
<div class="report">
    <div class="report-tit">
        <img src="__PUBLIC__/Sale/imgs/report.png" />
        推广APP会员
    </div>
    <div class="report-bill">
        <table cellspacing="0" cellpadding="0" class="report-table">
            <tr>
                <th width="120">类型</th>
                <th width="188">数量</th>
                <th width="100">分成</th>
            </tr>
            <volist name="orders" id="v">
                <tr align="center">
                    <td>{$v.vip_type_info}</td>
                    <td>1</td>
                    <td>{$v['c_in']}</td>
                </tr>
            </volist>
        </table>
        <div class="report-page">
            {$list.page}
        </div>
    </div>
</div>
<div class="report">
    <div class="report-tit">
        <img src="__PUBLIC__/Sale/imgs/report.png" />
        推广代理
    </div>
    <div class="report-bill">
        <table cellspacing="0" cellpadding="0" class="report-table">
            <tr>
                <th width="120">类型</th>
                <th width="188">数量</th>
                <th width="100">奖金</th>
            </tr>
            <volist name="orders" id="v">
                <tr align="center">
                    <td>{$v.vip_type_info}</td>
                    <td>1</td>
                    <td>{$v.c_agent_in}</td>
                </tr>
            </volist>
        </table>
        <div class="report-page">
            {$list.page}
        </div>
    </div>
</div>
<div class="report">
    <div class="report-tit">
        <img src="__PUBLIC__/Sale/imgs/report.png" />
        总收入
    </div>
    <div class="report-bill">
        <table cellspacing="0" cellpadding="0" class="report-table">
            <tr>
                <th width="120">总金额</th>
                <th width="188">已提现</th>
                <th width="100">待提现</th>
            </tr>
            <tr align="center">
                <td>{$total_amount}</td>
                <td>{$withdrawal_amount}</td>
                <td>{$unwithdrawal_amount}</td>
            </tr>
        </table>
        <div class="report-page">
            {$list.page}
        </div>
    </div>
</div>
<div class="report">
    <div class="report-tit">
        <img src="__PUBLIC__/Sale/imgs/report.png" />
        育宝牌育儿机完成订单量查询
    </div>
    <div class="report-bill">
        <div class="report-bill-time">
            <form action="" method="get">
                <input type="text" name="start" id="hello1" value="{$s}" />
                <span class="laydate-icon" onclick="laydate({elem: '#hello1'});" alt="le"></span>
                -
                <input type="text" name="end" id="hello2" value="{$e}" />
                <span class="laydate-icon" onclick="laydate({elem: '#hello2'});" alt="ri"></span>
                <input type="submit" value="&nbsp;" class="sub" />
            </form>
        </div>
        <table cellspacing="0" cellpadding="0" class="report-table">
            <tr>
                <th width="120">订单号</th>
                <th width="188">订单成交时间</th>
                <th width="100">金额</th>
                <th width="250">推广会员佣金</th>
            </tr>
            <volist name="list.data" id="v">
                <tr align="center">
                    <td>{$v.c_ordsn}</td>
                    <td>{$v.c_time|cn_datetime=$v['c_time'],###}</td>
                    <td>{$v.c_in|total_amount=$v['c_in'],###}</td>
                    <!-- <td>{$v.c_ordsn}</td> -->
                    <td>{$v.c_in}</td>
                </tr>
            </volist>
        </table>
        <div class="report-page">
            {$list.page}
        </div>
    </div>
</div>
<include file="Public:fot" />